home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swags_z.zip
/
SCREEN.SWG
/
0040_Wait for Vertical Retrace.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-11-02
|
480b
|
15 lines
{
SANTERI SALMINEN
> how can i wait For the vertical retrace, in Pascal.
Some routines For retraces:
As you can see, $3DA reveals all of them.
}
Repeat Until Port[$3DA] And 8 = 8; { Wait For Vertical retrace }
Repeat Until Port[$3DA] And 8 = 0; { Wait For the end of Vertical retrace }
Repeat Until Port[$3DA] And 1 = 1; { Wait For Horizontal retrace }
Repeat Until Port[$3DA] And 1 = 0; { Wait For the end of Horizontal retrace }